<?php

/**
 * URL解析规则
 */

return [
    /***********************下面写你自己的URL解析规则********************/
    /*栏目url规则*/
    "services" =>'index.php?m=content&c=index&a=lists&catid=1',
    "aboutus" =>'index.php?m=content&c=index&a=lists&catid=2',
    "cooperation" =>'index.php?m=content&c=index&a=lists&catid=3',
    "cases" =>'index.php?m=content&c=index&a=lists&catid=4',
    "qfzs" =>'index.php?m=content&c=index&a=lists&catid=6',
   # "gsfw\/([0-9]+)" =>'index.php?m=content&c=index&a=lists&catid=7page=$2',
   #  "news\/([0-9]+)\-([0-9]+)" =>'index.php?m=content&c=index&a=lists&catid=$1&page=$2',
    #"([\w]+)\/([\w]+)" =>'index.php?m=content&c=index&a=lists&catid=1&page=2',
    "list\-([0-9]+)\-([0-9]+).html(.*)"  => 'index.php?m=content&c=index&a=lists&catid=$1&page=$2',
    /***********************栏目测试规则：栏目列表页面分页的伪静态解析*************************/
    "html\/list\-([\w]+)\-([0-9]+).html(.*)"  => 'index.php?m=content&c=index&a=lists&catdir=$1&page=$2',

    /***********************栏目测试规则：栏目列表页面的伪静态解析*************************/
    "html\/list\-([\w]+).html(.*)"  => 'index.php?m=content&c=index&a=lists&catdir=$1',

    /***********************内容测试规则：内容页面分页的伪静态解析*************************/
    "news\/([0-9]+)\-([0-9]+).html(.*)"  => 'index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3',
    "news\/([0-9]+)\-([0-9]+).html(.*)"  => 'index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3',
    "news\/([0-9]+)\-([0-9]+)\-([0-9]+).html(.*)"  => 'index.php?m=content&c=index&a=show&catid=$1&id=$2',


    /***********************内容测试规则：内容页面的伪静态解析*************************/
    "html\/show\-([\w]+)\-([0-9]+).html(.*)"  => 'index.php?m=content&c=index&a=show&catdir=$1&id=$2',

    #"(.*)" => 'index.php?m=search&c=index&a=init&q=$1'
   # "([\w]+).html(.*)" => 'index.php?m=search&c=index&a=init&typeid=0&siteid=1&q=办理'
    ];